<?php
/* @var $this UsersController */
/* @var $model Users */
/* @var $form CActiveForm */
?>
<?php if(Yii::app()->user->hasFlash('users')): ?>

<div class="flash-success">
    <?php echo Yii::app()->user->getFlash('users'); ?>
</div>

<?php endif; ?>
<div class="form">

    <?php echo CHtml::beginForm(array('users/change')); ?>
    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
        <tr>
            <th valign="top">Password Lama</th>
            <td class="idform">
                <?php echo CHtml::PasswordField('currentPassword'); ?>
            </td>
            <td class="idform">
            </td>
        </tr>
        <tr>
            <th valign="top">Password Baru</th>
            <td class="idform">
                <?php echo CHtml::PasswordField('newPassword'); ?>
            </td>
            <td class="idform">
            </td>
        </tr>
        <tr>
            <th valign="top">Password Baru (Ulangi)</th>
            <td class="idform">
                <?php echo CHtml::PasswordField('repeatPassword'); ?>
            </td>
            <td class="idform">
            </td>
        </tr>
        <tr>
            <th>&nbsp;</th>
            <td valign="top">
                <?php echo CHtml::submitButton('Save',array('class' => 'form-submit')); ?>
            </td>
            <td class="idform"></td>
        </tr>
    </table>
    <?php echo CHtml::endForm(); ?>

</div><!-- form -->